package com.groupseven.happycampus.service;

import com.groupseven.happycampus.common.bo.CarBo;
import com.groupseven.happycampus.common.pojo.Car;
import com.groupseven.happycampus.common.result.LayuiPageVo;
import com.groupseven.happycampus.common.vo.PieVo;


import java.util.List;
import java.util.Map;

/**
 * @BeLongsProject: happycampus
 * @BeLongsPackage: com.groupseven.happycampus.controller
 * @Author: WRH
 * @CreateTime: 2022-07-25 17:03
 * @Description: TODO
 * @Version: 1.0
 */
public interface CarService {
    LayuiPageVo<Car> carPageData(Map<String, Object> params);

    int deleteCar(Integer id);

    int deleteCarsByIds(String ids);

    int addCar(Car car);


    int updateCar(Map<String, Object> params);

    List<CarBo> carExcelData(Car car);

    List<PieVo> echartsPie();
}
